package com.jk.dmhomeprovider.controller;

import com.jk.dmhomeprovider.entity.GoodsEntity;
import com.jk.dmhomeprovider.service.InquireService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.security.SecureRandom;
import java.util.List;
import java.util.UUID;

/**
 * 文件名称:TestController
 *
 * @Description //TODO
 * @Date 2021/9/2 16:24
 * 作者 王乐
 * Copyright (c) 2021,  All Rights Reserved.</pre>
 */
@RestController
@RequestMapping("htest")
public class TestController {

    @Autowired
    private InquireService inquireService;

    //演唱会
    @RequestMapping("/vocal")
    public List<GoodsEntity> vocal(GoodsEntity goods){
        return inquireService.vocal(goods);
    }

    //话剧歌剧
    @RequestMapping("/drama")
    public List<GoodsEntity> drama(){
        return inquireService.drama();
    }
    //体育
    @RequestMapping("/sports")
    public List<GoodsEntity> sports(){
        return inquireService.sports();
    }
    //儿童亲子
    @RequestMapping("/family")
    public List<GoodsEntity> family(){
        return inquireService.family();
    }
    //展览休闲
    @RequestMapping("/exhibition")
    public List<GoodsEntity> exhibition(){
        return inquireService.exhibition();
    }
    //音乐会
    @RequestMapping("/concert")
    public List<GoodsEntity> concert(){
        return inquireService.concert();
    }
    //曲苑杂坛
    @RequestMapping("/quYuan")
    public List<GoodsEntity> quYuan(){
        return inquireService.quYuan();
    }
    //舞蹈芭蕾
    @RequestMapping("/dance")
    public List<GoodsEntity> dance(){
        return inquireService.dance();
    }
    //二次元
    @RequestMapping("/quadratic")
    public List<GoodsEntity> quadratic(){
        return inquireService.quadratic();
    }
    //旅游展览
    @RequestMapping("/tourExhibition")
    public List<GoodsEntity> tourExhibition(){
        return inquireService.tourExhibition();
    }

}
